cmake_minimum_required(VERSION 3.30)
project(hlp_alg_test)
set(BUILD_APP_NAME hlp_alg_test)
set(CMAKE_CXX_STANDARD 17)


# 查找 OpenCV 包
find_package(OpenCV REQUIRED)

# 添加可执行文件
add_executable(${BUILD_APP_NAME}
        main.cpp
        video_source.cpp
        video_source.h
        alg_comm.h
        )

# 链接 OpenCV 库
target_link_libraries(${BUILD_APP_NAME} ${OpenCV_LIBS})

# 添加 OpenCV 头文件路径
include_directories(${OpenCV_INCLUDE_DIRS})